<template>
	<view class="indexs">
		<view class="header header_lan" :style="'padding-top: ' + navH + 'px;'">
			<view class="header_height" :style="'height:' + gaodu + 'px;line-height:' + gaodu + 'px;top:' + gaodutops + 'px;'">
				<view class="index_h_cont3">
					<view class="index_wenben baise">{{ $t('page_my_sharp.Head_center') }}</view>
				</view>
			</view>
			<view class="coloe_title">s</view>
		</view>
		<view class="index_center" :style="'padding-top:' + (navH + 50) + 'px;padding-bottom: 130rpx;'">
			<view class="cangkuyuan_center">
				<view class="cangkuyuan_item1">
					<view class="cangkuyuan_item1_bottom">
						<view class="cangkuyuan_item1_bottom_list">
							<view class="cangkuyuan_item1_bottom_cont">
								<image :src="imgUrl + '/dzx_img173.png'"></image>
								<view class="cangkuyuan_item1_bottom_t1">{{ $t('page_my_sharp.In_formation') }}</view>
								<view class="cangkuyuan_item1_bottom_t2">0</view>
							</view>
							<view class="cangkuyuan_item1_bottom_cont">
								<image :src="imgUrl + '/dzx_img174.png'"></image>
								<view class="cangkuyuan_item1_bottom_t1">{{ $t('page_my_sharp.Group_trip') }}</view>
								<view class="cangkuyuan_item1_bottom_t2">0</view>
							</view>
							<view class="cangkuyuan_item1_bottom_cont">
								<image :src="imgUrl + '/dzx_img175.png'"></image>
								<view class="cangkuyuan_item1_bottom_t1">{{ $t('page_my_sharp.Complete_grouping') }}</view>
								<view class="cangkuyuan_item1_bottom_t2">0</view>
							</view>
						</view>
					</view>
				</view>

				<view class="cangkuyuan_item2">
					<view class="cangkuyuan_item2_title">
						<image :src="imgUrl + '/dzx_img47.png'"></image>
						<text>{{ $t('page_my_sharp.Common_operation') }}</text>
					</view>
					<view class="cangkuyuan_item2_list">
						<view class="cangkuyuan_item2_cont" @tap="toSharp" data-url="/pages/cangkuyuans/cangkuyuan_qsbaoguo/cangkuyuan_qsbaoguo?type=2">
							<view class="cangkuyuan_item2_txt">
								<view class="cangkuyuan_item2_t1">{{ $t('page_my_sharp.Start_group') }}</view>
								<view class="cangkuyuan_item2_t2">{{ $t('page_my_sharp.Start_group') }}</view>
							</view>
							<image :src="imgUrl + '/dzx_img177.png'"></image>
						</view>
						<view class="cangkuyuan_item2_cont" @tap="toSharpList" data-url="/pages/cangkuyuans/cangkuyuan_jianhuolist/cangkuyuan_jianhuolist?id=1">
							<view class="cangkuyuan_item2_txt">
								<view class="cangkuyuan_item2_t1">{{ $t('page_my_sharp.Group_management') }}</view>
								<view class="cangkuyuan_item2_t2">{{ $t('page_my_sharp.Group_audit') }}</view>
							</view>
							<image :src="imgUrl + '/dzx_img179.png'"></image>
						</view>
						<view class="cangkuyuan_item2_cont" @tap="toVerify" data-url="/pages/cangkuyuans/cangkuyuan_jianhuolist/cangkuyuan_jianhuolist?id=1">
							<view class="cangkuyuan_item2_txt">
								<view class="cangkuyuan_item2_t1">{{ $t('page_my_sharp.Group_audit') }}</view>
								<view class="cangkuyuan_item2_t2">{{ $t('page_my_sharp.Group_audit') }}</view>
							</view>
							<image :src="imgUrl + '/dzx_img181.png'"></image>
						</view>
					</view>
				</view>
				<view class="cangkuyuan_item5">
					<view class="cangkuyuan_item5_posi">
						<view class="cangkuyuan_item5_btn" @tap="fanhuishouye">
							<image :src="imgUrl + '/dzx_img194.png'"></image>
							<text>{{ $t('page_my_sharp.back_personal_center') }}</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>
<script>
const app = getApp();

let request = require('../../../utils/require');

export default {
	data() {
		return {
			navH: app.globalData.navHeight,
			gaodu: app.globalData.height,
			gaodutops: app.globalData.top,
			imgUrl: app.globalData.imgUrl
		};
	},
	//滑动显示顶部
	onPageScroll: function(e) {},
	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad(options) {
		var that = this;
	},
	onShow() {},
	/**
	 * 生命周期函数--监听页面初次渲染完成
	 */
	onReady: function() {},
	/**
	 * 生命周期函数--监听页面隐藏
	 */
	onHide: function() {},
	/**
	 * 生命周期函数--监听页面卸载
	 */
	onUnload: function() {},
	/**
	 * 页面相关事件处理函数--监听用户下拉动作
	 */
	onPullDownRefresh: function() {},
	/**
	 * 页面上拉触底事件的处理函数
	 */
	onReachBottom: function() {},
	/**
	 * 用户点击右上角分享
	 */
	onShareAppMessage: function() {
		return {
			title: uni.getStorageSync('setting').desc,
			path: '/pages/index/index?user=' + this.user,
			imageUrl: '',
			success: function(res) {
				console.log('success22:' + JSON.stringify(res));
			},
			fail: function(err) {
				console.log('fail22:' + JSON.stringify(err));
			}
		};
	},
	methods: {
		toSharp() {
			console.log(222);
			uni.navigateTo({
				url: '/pages/sharing/create'
			});
		},
		toSharpList() {
			uni.navigateTo({
				url: '/pages/sharing/sharing_manage'
			});
		},
		toVerify() {
			uni.navigateTo({
				url: '/pages/sharing/verify'
			});
		},
		fanhuishouye() {
			uni.navigateTo({
				url: '/pages/my/my'
			});
		}
	}
};
</script>

<style>
@import './my_sharp.css';
</style>
